                                              {$CLEO .CS}

//-------------MAIN---------------
0000: NOP 

:NONAME_2
wait 0 
if and 
   Player.Defined($PLAYER_CHAR)
0154:   actor $PLAYER_ACTOR in_zone 'LA'  // LS
0583:   player $PLAYER_CHAR in_zone 'LA'   
   $ONMISSION == 0
jf @NONAME_2 
Model.Load(#FREIGHT)
Model.Load(#FREIFLAT)
Model.Load(#FREIBOX)
Model.Load(#STREAK)
Model.Load(#STREAKC)
Model.Load(#TRAM)
//Model.Load(662)
//Model.Load(663)
038B: load_requested_models 
wait 0 
jump @NONAME_79 

:NONAME_79
wait 0 
//06D8: 1@ = create_train_at 1709.22 -2827.91 276.19 type 0 direction 0 
//1665.7228 -2832.0869 85.5328 2 pyt
06D8: 1@ = create_train_at 456.991 -1726.84 -23.9682 type 3 direction 0  // long beach vnutr
0186: 2@ = create_marker_above_car 1@
0165: set_marker 2@ color_to 4
06DC: set_train 1@ acc 10.0 
06DD: set_train 1@ speed 16.0 
//09CF: set_train 1@ stop_at_stations 1
wait 3000 
06DC: set_train 1@ acc 20.0 
06DD: set_train 1@ speed 30.0 
Model.Destroy(#FREIGHT)
Model.Destroy(#FREIFLAT)
Model.Destroy(#FREIBOX)
Model.Destroy(#STREAK)
Model.Destroy(#STREAKC)
Model.Destroy(#TRAM)
jump @platf1



:prov_1
wait 0 
if or
0154:   actor $PLAYER_ACTOR in_zone 'LA'  // LS
0583:   player $PLAYER_CHAR in_zone 'LA' 
jf @destr
if or    //stalo ploxo
$ONMISSION == 1
0112:   wasted_or_busted
0118:   actor $PLAYER_ACTOR dead
0981:   train 1@ wrecked
02BF:   car 1@ sunk
01F4:   car 1@ flipped
jf @platf1
jump @destr

:platf1
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1599.1771 -2706.7971 26.5784 radius 14.0 14.0 14.0      //  sanjeevskaya vnutr
jf @platf2  
jump @NONAME_926 

:platf2
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2556.0588 -2501.9448 26.5784 radius 14.0 14.0 14.0       // seaport vnutr
jf @platf3 
jump @NONAME_926 

:platf3
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2836.9404 -1972.5302 26.5784 radius 14.0 14.0 14.0      // predportovaya vnutr
jf @platf4 
jump @NONAME_926 

:platf4
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2925.8167 -1413.6985 26.5784 radius 14.0 14.0 14.0    //  fuckovskaya vnutr
jf @platf5 
jump @NONAME_926 

:platf5
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2548.2349 -1090.095 37.1743 radius 14.0 14.0 14.0    // las calinas vnutr
jf @platf6 
jump @NONAME_926 

:platf6
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1490.0049 -1249.7391 -22.8559 radius 14.0 14.0 14.0    // commercia vnutr
jf @platf7 
jump @NONAME_926 

:platf7
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 990.9387 -1789.2976 -22.8615 radius 14.0 14.0 14.0    //  xyiovaya vnutr
jf @platf8 
jump @NONAME_926


:platf8
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 502.7234 -1734.4684 -22.8477 radius 14.0 14.0 14.0    // long beach  vnutr
//1845.1808 -1422.4746 29.8384      GLENPARK GOLOV
//jf @prov_1
jf @platf9
jump @NONAME_926

////////:platf7

:platf9
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 665.6452 -1166.0743 -22.8513 radius 14.0 14.0 14.0    // a315     vnutr
jf @platf10 
jump @NONAME_926

:platf10
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1271.9755 -957.7651 -22.8867 radius 14.0 14.0 14.0    //  mcd    vnutr
jf @platf11
jump @NONAME_926

:platf11
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1849.2941 -1311.0396 29.8384 radius 14.0 14.0 14.0    //  glenpark vnutr
jf @platf12 
jump @NONAME_926

:platf12
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1824.936 -1823.9868 29.8384 radius 14.0 14.0 14.0    // unity vnutr
jf @platf23
jump @NONAME_926
/////////////////////
///////////////////////////


:platf23
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1521.1798 -2259.6218 30.0416 radius 14.0 14.0 14.0    //airport vnutr
jf @prov_1
jump @NONAME_926






///jf @prov_1 
///jump @NONAME_926


 //:prov2
//wait 0
//if or
//$ONMISSION == 1
//0112:   wasted_or_busted
//0118:   actor $PLAYER_ACTOR dead
//0981:   train 1@ wrecked
//02BF:   car 1@ sunk
//01F4:   car 1@ flipped

:NONAME_926 
wait 0
06DC: set_train 1@ acc 0.0 
06DD: set_train 1@ speed 0.0 
wait 8000
06DC: set_train 1@ acc 10.0 
06DD: set_train 1@ speed 16.0 
wait 3000 
06DC: set_train 1@ acc 20.0 
06DD: set_train 1@ speed 30.0  
jump @prov_1

:destr
wait 0
0164: disable_marker 2@
07BD: destroy_train 1@
07BE: remove_references_to_train 1@
jump @NONAME_2